<script lang="ts" setup>
import type { MenuFunctionsInterface } from './type'
const shortcutMenuList = [
  {
    id: '251375233527906304',
    parentId: '188329174170271744',
    sysCode: 'cpoe',
    systemId: '149099458477621248',
    funcType: '2',
    funcCode: '医嘱开立',
    funcName: '医嘱开立',
    funcSort: '0',
    funcHome: 'N',
    funcParam: 'appType=1',
    enableFlag: 'Y',
    pyCode: null,
    wbCode: null,
    funcIcon: 'icon-menumenzhenfenshiweihu',
    funcPath: '/cpoe/issuing/cpoe',
    children: [
      {
        id: '309705661237886976',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'cpoe.medicalrecord_in.book_add',
        funcName: '新增',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309970176462487552',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '4',
        funcCode: 'mpi.patient.archive.similarity.d',
        funcName: '患者相似度检测',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309970294666362880',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '4',
        funcCode: 'mpi.patient.archive.edit',
        funcName: '患者建档或编辑',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309970422462611456',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '4',
        funcCode: 'mpi.patient.archive.detail',
        funcName: '患者档案详情',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309970514699550720',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '4',
        funcCode: 'mdm.user.manage.query',
        funcName: '用户管理查询',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309970634358849536',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '4',
        funcCode: 'mdm.surgicalcriteria.query',
        funcName: '手术分级查询',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309970767746105344',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '4',
        funcCode: 'cpoe.medical.record.query',
        funcName: '查询',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309970912042745856',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '4',
        funcCode: 'cpoe.medical.record.delete',
        funcName: '删除',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309971022638153728',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '4',
        funcCode: 'cpoe.medical.record.edit',
        funcName: '编辑',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309971169438793728',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '4',
        funcCode: 'cpoe.medical.record.add',
        funcName: '添加',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309971300858920960',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '4',
        funcCode: 'cpe.general.phrase.query',
        funcName: '常用语维护查询',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309971421738762240',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '4',
        funcCode: 'apm.param.manage.query',
        funcName: '应用系统参数查询',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309971634645827584',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_in.save',
        funcName: '保存',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309971761519329280',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_in.remove',
        funcName: '删除',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309971883972034560',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_in.print',
        funcName: '打印',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309972003228680192',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_in.preview',
        funcName: '预览',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309972124225961984',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_in.save_as',
        funcName: '另存模板',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309972249027477504',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_in.patient',
        funcName: '患者信息',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309972368359620608',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_in.rename',
        funcName: '重命名',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309972463847145472',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_in.sign',
        funcName: '签名',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309972565760344064',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_in.unsign',
        funcName: '取消签名',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309972675776937984',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_in.signlock',
        funcName: '审签',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309972796950380544',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_in.signunlock',
        funcName: '取消审签',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309972908703416320',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_in.signback',
        funcName: '退回',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309973198701789184',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_in.signlocker',
        funcName: '查看审签人',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309973421125730304',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'cpoe.medicalrecord_in.book_course',
        funcName: '多病程',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309973529548488704',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'cpoe.medicalrecord_in.book_print',
        funcName: '打印',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309973634930376704',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'cpoe.medicalrecord_in.book_cover',
        funcName: '封面',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309973914568818688',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'cpoe.medicalrecord_in.book_refresh',
        funcName: '刷新',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309974120895021056',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_hp.diagnosis',
        funcName: '刷新诊断信息',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309974226100748288',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_hp.cost',
        funcName: '刷新费用信息',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309974330077544448',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_hp.surgery',
        funcName: '刷新手术信息',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309974437913100288',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_hp.icu',
        funcName: '刷新重症监护信息',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309974532331077632',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_hp.basic',
        funcName: '刷新基本信息',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '309974636756664320',
        parentId: '251375233527906304',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '3',
        funcCode: 'btn.cpoe.medicalrecord_hp.discharge',
        funcName: '刷新入出院信息',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: null,
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
    ],
    sysIdentifier: 'cpoe',
  },
  {
    id: '303897759872909312',
    parentId: '188329174170271744',
    sysCode: 'cpoe',
    systemId: '149099458477621248',
    funcType: '2',
    funcCode: 'transfusionReview',
    funcName: '输血审批',
    funcSort: '0',
    funcHome: 'N',
    funcParam: null,
    enableFlag: 'Y',
    pyCode: null,
    wbCode: null,
    funcIcon: null,
    funcPath: '/cpoe/transfusionReview',
    children: null,
    sysIdentifier: 'cpoe',
  },
  {
    id: '267952506489995264',
    parentId: '188329174170271744',
    sysCode: 'cpoe',
    systemId: '149099458477621248',
    funcType: '2',
    funcCode: 'cpoe.core.order.set',
    funcName: '医嘱套餐',
    funcSort: '1',
    funcHome: 'N',
    funcParam: 'appType=1',
    enableFlag: 'Y',
    pyCode: null,
    wbCode: null,
    funcIcon: 'icon-menuyaopinxinxiweihu',
    funcPath: '/cpoe/orderSet',
    children: [
      {
        id: '268689388161138688',
        parentId: '267952506489995264',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '4',
        funcCode: 'cpoe.core.order.set.area',
        funcName: '院区套餐维护权限',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menuyaopinxinxiweihu',
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
      {
        id: '268689667283681280',
        parentId: '267952506489995264',
        sysCode: 'cpoe',
        systemId: '149099458477621248',
        funcType: '4',
        funcCode: 'cpoe.core.order.set.specialty',
        funcName: '专科套餐维护权限',
        funcSort: '0',
        funcHome: 'N',
        funcParam: null,
        enableFlag: 'Y',
        pyCode: null,
        wbCode: null,
        funcIcon: 'icon-menuyaopinxinxiweihu',
        funcPath: null,
        children: null,
        sysIdentifier: 'cpoe',
      },
    ],
    sysIdentifier: 'cpoe',
  },
]

const handleClick = (item: MenuFunctionsInterface) => {
  console.log('item', item)
}
</script>

<template>
  <div>
    <hc-sidebar-menu-l1
      :shortcut-menu-list="shortcutMenuList"
      :height="74"
      @handleClick="handleClick"
    />
  </div>
</template>
